# print("Please enter a positive integer!\nEnter 'quit' to end the program.")
# active=True
# while active:
#     str1 = input()
#     if str1=="quit":
#         active=False
#     else:
#         str1=int(str1)
#         if str1%8==0:
#             print(f'{str1} is a multiple of 8.')
#         else:
#             print(f'{str1} is not a multiple of 8.')
#     continue


# while True:
#     print("Please tell me your height!\nEnter 'quit' to end the program.")
#     person_heghit = input()
#     if person_heghit=="quit":
#         break
#     else:
#         person_heghit=float(person_heghit)
#         if person_heghit<1:
#             print("Your admission cost is 0 yuan.")
#         elif 1<=person_heghit<=1.2:
#             print("Your admission cost is 80 yuan.")
#         elif person_heghit>1.2:
#             print("Your admission cost is 150 yuan.")

# #创建pizza_orders列表
# pizza_orders=['chichen',' bacon','durian']
# #创建finished_pizza空列表
# finished_pizza=[]
# #判断循环
# while len(pizza_orders)>0:
#     #定义循环变量
#     pizza=pizza_orders.pop()
#     #循环体
#     print(f"I made your {pizza} pizza!")
#     #循环变量发生变化
#     finished_pizza.append(pizza)
# #循环结束后，打印finished_pizza
# print(finished_pizza)


#定义循环变量
pizza_inventory=['bacon','durian','bacon','bacon','chicken','durian']
#判断循环
while 'bacon' in pizza_inventory:
    #循环体
    pizza_inventory.remove('bacon')
    print('A bacon pizza was deleted from list.')

if 'bacon' not in pizza_inventory:
    print('There is really no bacon in pizza_inventory!')